package com.gjzhao.fmmall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
//@EnableEurekaClient //作为监控服务，也可以注册到服务注册与发现中心
@EnableHystrixDashboard // 作为熔断器的监控服务，需要添加 @EnableHystrixDashboard 注解
public class HystrixDashboardApplication {

    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardApplication.class, args);
    }

}
